# Maintainer: Mike Krüger <mikekrueger81[at]gmail.com>
pkgname=swagarch-icon-theme
pkgver=r1869.49af06813
pkgrel=1
pkgdesc="A free and open source SVG icon theme for Linux, based on Paper Icon Set and Papirus."
arch=("any")
url="https://gitlab.com/SwagArch/swagarch-icon-theme"
license=('GPL3' 'CCPL')
makedepends=("git")
optdepends=('xfce4-session')
provides=("${pkgname}")
conflicts=("${pkgname}")
source=('git+https://gitlab.com/SwagArch/swagarch-icon-theme.git#branch=master')
sha256sums=("SKIP")

#build() { }

package() {
  	cd "${pkgname}"
	make DESTDIR="${pkgdir}" install
	make DESTDIR="${pkgdir}" post-install
}

pkgver() {
  	cd "${pkgname}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
